package com.gdth.widget.dialog;import android.content.Context;import android.view.View;import android.widget.TextView;import com.gdth.R;public class DialogPrompt extends BaseDialog{	private String title;		public DialogPrompt(Context context, String title) {		super(context, R.style.dialog_theme);//		super(context);		this.title = title;		initView();	}		protected void initView(){		super.initView(R.layout.system_dialog_prompt);        		TextView txt_title = (TextView) findViewById(R.id.dialog_title);		txt_title.setText(title);				TextView txt_config = (TextView) findViewById(R.id.dialog_button_config);				txt_config.setOnClickListener(new configOnClickListener());	}		private class configOnClickListener implements View.OnClickListener{		@Override		public void onClick(View v) {			dismiss();						if (configListener != null)				configListener.OnPromptClickListener();					}	}}